package com.ykq.service.impl;

import com.ykq.dao.DeptDao;
import com.ykq.pojo.Dept;
import com.ykq.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: vue_axios_ssm
 * @description:
 * @author: 闫克起2
 * @create: 2023-05-12 09:33
 **/
@Service
public class DeptServiceImpl implements DeptService {

    @Autowired
    private DeptDao deptDao;
    public List<Dept> findAll() {
        return deptDao.selectAll();
    }
}
